package org.dromara.application.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * 应用和用户关联对象 app_user
 *
 * @author YCJZ
 * @date 2025-09-24
 */
@Data
@TableName("app_user")
public class AppUser implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * clientID
     */
    @TableId(value = "client_id")
    private String clientId;

    /**
     * 用户id
     */
//    @TableId(value = "user_id")
    private Long userId;

    /**
     * openid
     */
//    @TableId(value = "open_id")
    private String openId;

    /**
     * 状态（0正常 1停用）
     */
    private String status;

    /**
     * 组织id
     */
    private Long unionid;


}
